@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//aside {
//  background: #eef1f6;
//  padding: 8px 24px;
//  margin-bottom: 20px;
//  border-radius: 2px;
//  display: block;
//  line-height: 32px;
//  font-size: 16px;
//  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
//  color: #2c3e50;
//  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
//
//  a {
//    color: #337ab7;
//    cursor: pointer;
//
//    &:hover {
//      color: rgb(32, 160, 255);
//    }
//  }
//}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

//.sub-navbar {
//  height: 50px;
//  line-height: 50px;
//  position: relative;
//  width: 100%;
//  text-align: right;
//  padding-right: 20px;
//  transition: 600ms ease position;
//  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
//
//  .subtitle {
//    font-size: 20px;
//    color: #fff;
//  }
//
//  &.draft {
//    background: #d0d0d0;
//  }
//
//  &.deleted {
//    background: #d0d0d0;
//  }
//}
//
//.link-type,
//.link-type:focus {
//  color: #337ab7;
//  cursor: pointer;
//
//  &:hover {
//    color: rgb(32, 160, 255);
//  }
//}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

/*****申达框架-面板样式 begin******/
.sdc-detail-content {
  width: 100%;
  border-bottom-color: rgb(235, 235, 235);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-image-outset: 0px;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  border-left-color: rgb(235, 235, 235);
  border-left-style: solid;
  border-left-width: 1px;
  border-right-color: rgb(235, 235, 235);
  border-right-style: solid;
  border-right-width: 1px;
  border-top-color: rgb(235, 235, 235);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-top-style: solid;
  border-top-width: 1px;
  background-color: white;
  margin-top: 24px;
}

.sdc-content-table {
  background-color: rgb(250, 250, 250);
  border-top-color: rgb(234, 238, 251);
  border-top-style: solid;
  border-top-width: 1px;
}

.sdc-detail-title {
  color: rgb(48, 49, 51);
  display: block;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: 24px;
  line-height: 24px;
  width: auto;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.detail-outer-div {
  color: rgb(0, 0, 0);
  display: flex;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  font-weight: 400;
  height: 24px;
  line-height: 24px;
  width: 820px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: rgb(0, 0, 0);
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  font-weight: 400;
  height: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 24px;
  width: 820px;
  -webkit-font-smoothing: antialiased;
  height: 64px;
  align-items: center;
}

.sdc-detail-title-icon {
  font-size: 18px;
  width: 30px;
}

.sdc-detail-title :before {
  content: "";
  position: absolute;
  width: 1px;
  height: 16px;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #dcdfe6;
}

/*****申达框架-面板样式 end******/

/******top 样式*******************/
.sd-search-header {
  width: 100%;
  /*border-bottom-color: rgb(235, 235, 235);*/
  border-bottom-color: rgb(235, 235, 235);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  padding-left: 24px;
  padding-right: 24px;
}

.sd-export-button {
  color: #1890ff;
  border-color: #1890ff;
}

.sd-search-font {
  font-weight: bold;
}

.sd-page-line {
  width: 100.2%;
  height: 10px;
  background-color: #fafafa;
  border-top-color: rgb(235, 235, 235);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-top-style: solid;
  border-top-width: 1px;
  margin-left: -2px;
  margin-top: 15px;
}

.sd-search-content-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sd-search-content-bottom {
  display: flex;
  flex-direction: row-reverse;
}

.sd-search-button {
  border: 1px solid var(--lightBg) !important;
  background-color: white !important;
  color: var(--lightBg) !important;
  margin-left: 10px;
}

.sd-search-button:hover {
  border: 1px solid var(--lightBg) !important;
  background-color: var(--lightBg) !important;
  color: #fff !important;
}

.sd-search-button:active {
  border: 1px solid var(--lightBg) !important;
  background-color: var(--lightBg) !important;
  color: #fff !important;
}

.sd-reset-button {
  color: #F5F5DC;
  border-color: #F5F5DC;
}

.sd-retrun-button {
  color: #666;
  border-color: #666;
}

.sd-function-button-line {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  height: 35px;
}

.sd-fn-button {
  border-color: white !important;
  border-radius: 0px;

}

.sd-data-fresh-button {
  padding-left: 10px;
  padding-right: 10px;
  font-weight: bold;
}

.sd-drawer-content {
  /*padding-right: 10px;
  padding-left: 10px;
  overflow-x:hidden;
  overflow-y:auto;
  display: block;
  text-size-adjust:100%;*/

  padding-right: 10px;
  padding-left: 10px;
  bottom: 51px;
  box-sizing: border-box;
  color: rgb(17, 17, 17);
  cursor: default;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15.4285px;
  min-width: 240px;
  overflow-x: hidden;
  overflow-y: auto;
  /*  padding-bottom:0px;
    padding-left:0px;
    padding-right:0px;
    padding-top:0px;*/
  position: absolute;
  text-size-adjust: 100%;
  top: 110px;
  -webkit-font-smoothing: antialiased;

  /* min-height: 300px;
   height: auto;
   max-height: 702px;*/
}

.sd-drawer-content-pannel {
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;

}

.sd-drawer-footer {
  /*position:fixed;
  bottom:15px;
  padding-top: 10px;
  border-top: 2px rgb(235, 235, 235) solid;
  width: 576px;
  float: left;*/

  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgb(255, 255, 255);
  background-image: none;
  background-origin: padding-box;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-size: auto;
  border-bottom-color: rgb(223, 223, 223);
  border-left-color: rgb(223, 223, 223);
  border-right-color: rgb(223, 223, 223);
  border-top-color: rgb(223, 223, 223);
  border-top-style: solid;
  border-top-width: 1px;
  bottom: 0px;
  box-sizing: border-box;
  color: rgb(17, 17, 17);
  cursor: default;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  height: 51px;
  line-height: 15.4285px;
  min-width: 240px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 16px;
  padding-top: 8px;
  position: absolute;
  text-size-adjust: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;

}

.sd-drawer-footer .buttons {
  display: flex;
  flex-direction: row-reverse;
}

/*************************/
// 滚动条
::-webkit-scrollbar {
  width: 5px;
  height: 5px;

}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.1);
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: rgba(0, 0, 0, 0.1);

}

// 可点击的text样式
.click_text {
  color: var(--lightBg) !important;
  cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.el-tabs__item.is-active {
  color: var(--lightBg) !important;
}

.el-tabs__item:hover {
  color: var(--lightBg) !important;
}

.el-month-table td.current:not(.disabled) .cell {
  color: var(--lightBg) !important;
}

.el-month-table td .cell:hover {
  color: var(--lightBg) !important;
}

.el-picker-panel__icon-btn:hover {
  color: var(--lightBg) !important;
}

.el-date-picker__header-label:hover {
  color: var(--lightBg) !important;
}

.el-year-table td.current:not(.disabled) .cell {
  color: var(--lightBg) !important;
}

.el-year-table td.current:not(.disabled) .cell:hover {
  color: var(--lightBg) !important;
}

.el-year-table td .cell:hover {
  width: 48px;
  height: 32px;
  display: block;
  line-height: 32px;
  color: var(--lightBg) !important;
  margin: 0 auto;
}

.el-timeline-item__node--primary {
  background-color: var(--lightBg) !important;
}

.el-dropdown-menu--medium .el-dropdown-menu__item:hover {
  background: var(--lbBg) !important;
}

//倒计时

.vue-countdown-component .time-unit {
  color: #fff !important;
  font-size: 36px;
}

.vue-countdown-component .time-box {
  position: relative;
  box-sizing: border-box;
  text-align: center;
  background: none !important;
  padding: 0 2px;
  color: #fff;
  margin: 5px;
  width: 50px;
  height: 80px !important;
  font-size: 50px !important;
  font-weight: bold;
  line-height: 80px !important;
  border-radius: 6px;
  background: #333 !important;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.vue-countdown-component .time-box > div {
  color: #f2f2f2 !important;
}

.vue-countdown-component .time-box > div.base .base-b {
  background: #333 !important;
  color: #f2f2f2 !important;
}

.vue-countdown-component .time-box > div.face {
  background: #333 !important;
  color: #f2f2f2 !important;
}
.vue-countdown-component .time-box > div.face .anime {
 animation: animate-flip-back 0.5s 0.5s linear both;;
}
.vue-countdown-component .time-box > div.back {
  background: #333 !important;
  color: #f2f2f2 !important;
}
.vue-countdown-component .time-box > div.back .anime {
  animation: animate-flip-back 0.5s 0.5s linear both;;
}
.t {
  z-index: 1;
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

@-webkit-keyframes animate-flip-back {
  0% {
    -webkit-transform: rotateX(90deg) !important;
  }

  100% {
    -webkit-transform: rotateX(0deg) !important;
  }
}

@-moz-keyframes animate-flip-back {
  0% {
    -moz-transform: rotateX(90deg) !important;
  }

  100% {
    -moz-transform: rotateX(0deg) !important;
  }
}

@-o-keyframes animate-flip-back {
  0% {
    -o-transform: rotateX(90deg) !important;
  }

  100% {
    -o-transform: rotateX(0deg) !important;
  }
}

@keyframes animate-flip-back {
  0% {
    transform: rotateX(90deg) !important;
  }

  100% {
    transform: rotateX(0deg) !important;
  }
}
.vue-countdown-component .time-unit{
  font-size: 26px !important;
  line-height: 80px !important;
  margin: 0 5px !important;
}
